Automattic\Jetpack\Sync\REST_Endpoints A

Total Complexity 64
Dependencies 13
Dependents 0
Total lines 857
Lines of code 550
Logical lines of code 155
Comment lines 209
Methods 20
Properties 1

Methods 20

Method Rating Maintainability Complexity Lines of code
initialize_rest_api()
B
26
1 272
close()
A
45 10 41
full_sync_start()
A
52 8 24
data_histogram()
S
50 7 29
update_sync_settings()
S
57 5 17
checkout()
S
57 5 16
sync_health()
S
59 3 15
verify_default_permissions()
S
62 3 11
get_sync_objects()
S
55 2 19
spawn_sync()
S
60 2 15
validate_queue()
S
64 3 9
sanitize_item_ids()
S
68 3 6
do_sync()
S
61 2 13
unlock_queue()
S
60 2 13
get_object_id_range()
S
60 2 13
data_check()
S
65 2 9
is_valid_sync_module()
S
63 1 13
get_sync_settings()
S
80 1 3
sync_status()
S
75 1 4
reset_locks()
S
68 1 8